﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="selCourse.aspx.cs" Inherits="adminstrator_selCourse" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="margin:0 auto; width:800px;text-align:center; background:#92bcde;height:690px;">

        <p>安排教室</p>
        <asp:GridView runat="server" ID="GridView1" AllowPaging="true" PageSize="5" AutoGenerateColumns="false" 
            OnPageIndexChanging="GridView1_PageIndexChanging" OnSelectedIndexChanging="GridView1_SelectedIndexChanging" Width="800px">
            <Columns>
                <asp:BoundField DataField="ID" HeaderText="ID号"  ItemStyle-Width="50px" />
                <asp:BoundField DataField="rNo" HeaderText="教室编号"   ItemStyle-Width="100px" />
                <asp:BoundField DataField="srs" HeaderText="使用人数"  ItemStyle-Width="200px" />
                <asp:BoundField DataField="sclass" HeaderText="使用班级" ItemStyle-Width="100px" > </asp:BoundField>
                <asp:BoundField DataField="sjsyt" HeaderText="教室用途" ItemStyle-Width="150px" > </asp:BoundField>
                <asp:BoundField DataField="aDate" HeaderText="日期" ItemStyle-Width="100px" > </asp:BoundField>
                <asp:CommandField ShowSelectButton="true" SelectText="安排" ItemStyle-Width="100px" />
           </Columns>
        </asp:GridView>
        <asp:Label ID ="label1" runat ="server" Font-Size="30px"></asp:Label>

        <p>取消安排</p>
        <asp:GridView runat="server" ID="GridView2" AllowPaging="true" PageSize="5" AutoGenerateColumns="false" 
            OnPageIndexChanging="GridView2_PageIndexChanging" OnSelectedIndexChanging="GridView2_SelectedIndexChanging" Width="800px">
            <Columns>
                 <asp:BoundField DataField="ID" HeaderText="ID号"  ItemStyle-Width="50px" />
                <asp:BoundField DataField="rNo" HeaderText="教室编号"   ItemStyle-Width="100px" />
                <asp:BoundField DataField="srs" HeaderText="使用人数"  ItemStyle-Width="200px" />
                <asp:BoundField DataField="sclass" HeaderText="使用班级" ItemStyle-Width="100px" > </asp:BoundField>
                <asp:BoundField DataField="sjsyt" HeaderText="教室用途" ItemStyle-Width="150px" > </asp:BoundField>
                <asp:BoundField DataField="aDate" HeaderText="日期" ItemStyle-Width="100px" > </asp:BoundField>
                <asp:CommandField ShowSelectButton="true" SelectText="取消安排" ItemStyle-Width="100px" />
           </Columns>
        </asp:GridView>
        <asp:Label ID ="label2" runat ="server" Font-Size="30px"></asp:Label>
     </div>
   </form>
</body>
</html>
